export interface IUserData {
    avatar_url:string
    name:string
    email:string
}

// 地址管理
export interface IaddressList {
    id:number
    name:string
    tel:string
    address:string
    isDefault:boolean | number
}
// 修改地址编辑
export interface IaddressDetail {
    name:string
    address?:string
    addressDetail?:string
    phone?:string
    tel?:string
    province:string
    city:string
    county:string
    is_default?:boolean | number
    isDefault?:boolean | number
}
// 全部地址列表数据
export interface IaddressListData {
    hasAddress:boolean
    list:IaddressList[]
}
export class InitAddressList implements IaddressListData {
    hasAddress = false
    list = [] as any
}
// 新增地址数据类实现
export class InitCreateAddress implements IaddressDetail {
    name=''
    address=''
    addressDetail=''
    phone=''
    tel=''
    province=''
    city=''
    county=''
    is_default = false
    isDefault = false
}
